package io.gitee.zicai.bus.bus;

import io.gitee.zicai.bus.core.IBusSender;
import io.gitee.zicai.bus.support.GuavaEvent;

/**
 * EventSendBus
 *
 * @author zicai
 * @since 2021-01-20
 */
public abstract class GuavaSendBus<S extends IBusSender, T> extends GuavaEvent implements ISendBus<S, T> {

    protected T sendParam;

    public GuavaSendBus(T sendParam) {
        this.sendParam = sendParam;
    }

    @Override
    public T getSendParam() {
        return sendParam;
    }

}
